import Vue from 'vue'
import App from './App.vue'
import VueTouch from 'vue-touch'
Vue.use(VueTouch)
import router from './router'
import store from './store'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);
import login from '@/api/login'
Vue.prototype.$login = login;
import user from '@/utils/auth'
Vue.prototype.$user = user
Vue.config.productionTip = false
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
